home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Frameworks
/
TransSkel 3.24
/
Source
/
Dialog Item Stuff
/
SkelGetDlogStr.c
< prev
next >
Wrap
Text File
|
1996-01-17
|
319b
|
19 lines
/*
* Get text of a dialog item. The value is passed or returned
* as a string, not a buffer/length combination.
*/
# include "TransSkel.h"
pascal void
SkelGetDlogStr (DialogPtr d, short item, StringPtr str)
{
Handle h;
Rect r;
short type;
GetDialogItem (d, item, &type, &h, &r);
GetDialogItemText (h, str);
}